Skip to content

Conversation

@Vedant-Gandhi
Copy link
Contributor

Adds - #306

gnif and others added 6 commits June 13, 2023 10:19
The torden branch has support for `purge_all` with the following
directive added to the nginx configuration:

```
location = /purgeall {
	fastcgi_pass		unix:/dev/null;
	fastcgi_cache		WORDPRESS;
	fastcgi_cache_purge	PURGE purge_all from 127.0.0.1;
}
```

This makes it possible to purge the cache on systems where Nginx is
running as a different user to the PHP process.

Note, the `unix:/dev/null` in the above example is not a placeholder,
the module needs `fastcgi_pass` set to something valid or it will not
function, even though it never uses the value provided.
@Vedant-Gandhi Vedant-Gandhi merged commit 181c15c into develop Oct 16, 2025
1 check passed
@Vedant-Gandhi Vedant-Gandhi deleted the feat/add-torden-fork-develop branch October 16, 2025 06:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants